# Jeewx-app-eshop小程序发布配置  1. 后台域名配置 src/api/api.js ~~~ const apiBase = 'https://app.h5huodong.com'; ~~~ 2.图片域名配置 src/utils/constant.js ~~~ export const IMG_DOMAIN = "https://app.h5huodong.com"; ~~~ 3.修改appid dist/project.config.json ![](https://static.oschina.net/uploads/img/201906/18114512_oy2v.png) 4.后台商城的数据ID 和接口秘钥配置 src/utils/wxRequest.js ~~~ const API_SECRET_KEY = '372E839C53FCAED6F72780372E839C53FC47B1912B6C47B1912B6CA?????' const MAIN_ID = 'ff80808158004a720158005cc83f000b?????' ~~~ 取值参考后台 ![](https://static.oschina.net/uploads/img/201906/18104940_h08F.png)