Commit 269c6fb5 by 前端

Merge branch 'master' of http://192.168.3.233:8090/saas/scrm-micro-link into v3.8.0

2 parents d71df95d e034093b
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-11-23 14:46:30
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-12-18 14:49:23
* @LastEditTime: 2023-03-31 14:41:09
* @FilePath: \live\src\api\modules\common.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -77,6 +77,17 @@ const uploadFundingVideoApi = params => {
noSignAttr: ['file']
})
}
/**众筹活动订单配置开关(SAAS)【控制众筹订单列表部分字段0:展示;1:隐藏;】 */
const getCrowdfundingOrderConfig = (params = {}) => {
params.method = 'scrm.api.shopmall.crowd.funding.order.config'
params.requestType = 1 //0:门店;1:运营版
return http({
url: '/rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
export default {
pictureUpload,
getMerchantStaff,
......@@ -84,5 +95,6 @@ export default {
uploadImgApi,
uploadMusicApi,
uploadVideoApi,
uploadFundingVideoApi
uploadFundingVideoApi,
getCrowdfundingOrderConfig
}
......@@ -159,6 +159,16 @@ const getLiveListApi = params => {
sign: true
})
}
/**支付商户管理-下拉列表 */
const getPayMerchatListApi = params => {
params.method = 'entmicro.api.payment.pageListPayment'
return http({
url: 'rop-scrm-entmicro/router',
method: 'GET',
data: params,
sign: true
})
}
/**定金收款账户下拉列表 */
const getPayListApi = params => {
params.method = 'scrm.api.shopmall.activity.payment.account.list'
......@@ -249,4 +259,4 @@ const liveroomOverview = params => {
sign: true
})
}
export default { getPayListApi, liveroomDetailexport, liveroomDetailpage, liveroomOverview, getActivityPageApi, getCrowdfundListApi, exportCrowdfundApi, getBrowseListApi, exportBrowseApi, toggleStatusApi, deleteActivityApi, topActivityApi, getSharedApi, addOrUpdateActivityApi, getActivityDetailApi, getCrowdSharedApi, getLiveListApi, getRankListApi, exportRankListApi, getDataBoardApi, getVisitorListApi, getSharedListApi, getDailyOrderQuantityStatistics, exportDailyOrderQuantityStatistics }
export default { getPayMerchatListApi, getPayListApi, liveroomDetailexport, liveroomDetailpage, liveroomOverview, getActivityPageApi, getCrowdfundListApi, exportCrowdfundApi, getBrowseListApi, exportBrowseApi, toggleStatusApi, deleteActivityApi, topActivityApi, getSharedApi, addOrUpdateActivityApi, getActivityDetailApi, getCrowdSharedApi, getLiveListApi, getRankListApi, exportRankListApi, getDataBoardApi, getVisitorListApi, getSharedListApi, getDailyOrderQuantityStatistics, exportDailyOrderQuantityStatistics }
......@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-08-13 14:12:11
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2023-03-24 17:46:01
* @LastEditTime: 2023-03-31 14:19:14
* @FilePath: \scrm\scrm-sub-blog\src\main.js
*/
import Vue from 'vue'
......
......@@ -27,7 +27,7 @@ export async function bootstrap({ history, common, messenger, globalState }) {
Vue.prototype.$common = common
Vue.prototype.$message = message
Vue.prototype.$messageBox = messageBox
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token:globalState.session.token } })
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!