@@ -56,7 +56,7 @@ class ApplyController extends BaseController
public function actionApplyStatus()
{
//-1申请试用 0审核中 1审核通过、试用中 2审核未通过 3已付费,立即订购 4试用到期失效,待付款,立即订购,价格不显示
- $status = rand(0, 4);
+ $status = -1;
util::success(['status' => $status]);
}
@@ -133,11 +133,7 @@ class WxOpenController extends PublicController
$merchant = xhMerchantService::getByAppId($authorizeAppId);
- Yii::info('appId:' . $authorizeAppId);
- $set = xhSetMealService::getRandOne();
- if (empty($set)) {
- util::stop('没有套餐信息');
- }
+
if (empty($merchant)) {
util::stop('这个商家没有生成过基本信息。appid:' . $authorizeAppId);